<?php
$log = "";
if (isset($_POST["login"], $_POST["bn"], $_POST["pw"])) {
	$loginmanager = new loginmanager();
	$loginmanager->login("", "admin/index.php");
	$log = $loginmanager->log->get_log();
}
$form = new form();
$form->display_header(array("id" => "form_login_header"), "Login");
$form -> create_login_form_in_table(array("class" => "table_center"), "index.php?page=login");
echo $log;
?>